package com.project.bean;

import java.util.List;

public class ChannelBean {
    private int id;
    private String name;
    private String contents;
    private int count;
    private List<TopicBean> list;

    @Override
    public String toString() {
        return "ChannelBean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", contents='" + contents + '\'' +
                ", count='" + count + '\'' +
                ", list=" + list +
                "}\n";
    }

    public ChannelBean(String name, String contents) {
        this.name = name;
        this.contents = contents;
    }

    public ChannelBean() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContents() {
        return contents;
    }

    public void setContents(String contents) {
        this.contents = contents;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public List<TopicBean> getList() {
        return list;
    }

    public void setList(List<TopicBean> list) {
        this.list = list;
    }
}
